package com.gf.springCloud.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)//链式写法
public class Dept implements Serializable {

    //类表映射

    private  long deptno;
    private  String dname;

    private  String db_source;


    public Dept(String dname) {
        this.dname = dname;
    }
}
